-
Notifications
You must be signed in to change notification settings - Fork 524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carrying/escape-inventory tweaks #834
Carrying/escape-inventory tweaks #834
Conversation
would it not be better to change the do_after so you can escape inventory when pressing the action than just canceling it after moving? sounds more intuitive to me. |
I'm not sure, but people are already used to the old system... |
i mean the old system hasn't been changed since a year or more ago and its not like its a complete change from ground up will be very clear when the action shows to escape since there is little tie to react to the escape do_after to when you want to cancel it, its more easy to just try to escape when you want if you dont try it then it means you dont want. |
I don't want to change things that already work, because if I fuck up while doing it, it will be a much more serious problem than if I introduce a smaller change to fix the issue in hindsight... |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
More changes:
|
Let me know when this is ready for review. |
It was ready for review 3 weeks ago. |
sorry for the delay while we handled The Big Merge ™️ , feel free to pull an updated master and I'll give this a full review. I had to put a bit of work into getting PsuedoItem to even work with the new grid inv in the first place, so there may or may not be some additional work needed on this as well |
It's up-to-date now, and it does compile and work. Also fixed another bug introduced by the merge (pressing shift would make you try to escape an inventory) I was trying to fix throwing carried people, but after an hour of fiddling with the debugger I had no luck so far, I guess it's to be fixed in another pr |
About the PR
singuloosegravitational anomaly or by enclosing the carried person in a container while staying just outside it.Why / Balance
🥺
Technical details
New action is a bit of C# changes + new yml and texture files
The second change is achieved by changing the OnParentChanged callback to check if the new ParentUid is the same as GridUid, which means the new parent is a grid and not chair/another carrier
The third change is achieved by iterating over all entities with BeingCarriedComponent and making sure their LocalPosion is approximately equal to (0, 0)
Media
The third and second changes should not require media, but here's a showcase of the new action:
weeee-2024-01-06_17.20.18.mp4
Breaking changes
None? I think.
Changelog
🆑